import {postRequest} from "@/utils/request";
/**
 * 根据条件查询菜单信息
 */
export function selectIndicatorApi(data) {
  return postRequest(
   "/indicator/selectIndicator",
    data
  );
}
/**
 * 删除指标
 */
export function deleteIndicatorApi(data) {
    return postRequest(
     "/indicator/deleteIndicator",
      data
    );
}
/**
 * 修改指标
 */
export function updateIndicatorApi(data) {
    return postRequest(
     "/indicator/updateIndicator",
      data
    );
}
/**
 * 添加指标
 */
export function addIndicatorApi(data) {
    return postRequest(
     "/indicator/addIndicator",
      data
    );
}

/**
 * 查询指标选项
 */
 export function selectIndicatorOptionsApi(data) {
  return postRequest(
   "/indicator/selectIndicatorOptions",
    data
  );
}

/**
 * 添加指标选项
 */
 export function addIndicatorOptionsApi(data) {
  return postRequest(
   "/indicator/addIndicatorOptions",
    data
  );
}

/**
 * 删除指标选项
 */
 export function deleteIndicatorOptionsApi(data) {
  return postRequest(
   "/indicator/deleteIndicatorOptions",
    data
  );
}

/**
 * 修改指标选项
 */
 export function updateIndicatorOptionsApi(data) {
  return postRequest(
   "/indicator/updateIndicatorOptions",
    data
  );
}

/**
 * 查询问卷
 */
 export function selectQuestionnaireIndicatorOptionsApi(data) {
  return postRequest(
   "/indicator/selectQuestionnaireIndicatorOptions",
    data
  );
}